package shiqi.AdapterPattern.Class;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class client {

    @Autowired
    private Robot robot;

    public Robot getRobot() {
        return robot;
    }

    public void setRobot(Robot robot) {
        this.robot = robot;
    }


    public void test() {
        robot.cry();
        robot.move();
    }
}
